@charset "UTF-8";
@import "config";

* {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
    vertical-align: baseline;
    font-size: inherit;
    font-weight: inherit;
    .border_box();
}

*:after, *:before {
    .border_box();
}

ol, ul, li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, textarea, button {
    outline: 0;
    resize: none;
    font-size: inherit;
}

input:focus, select:focus, textarea:focus, button:focus {
    outline: none;
}

input[type="text"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], input[type="email"], input[type="url"], textarea, select {
    -webkit-appearance: none;
    border: 1px solid @color-gray;
    .border-radius(0);
}

input[type="number"]::-webkit-inner-spin-button, button {
    -webkit-appearance: none;
}

a, a:visited {
    text-decoration: none;
    -webkit-touch-callout: none;
    color: inherit;
    font-size: inherit;
}

em, i, strong, b {
    font-style: normal;
    font-weight: normal;
}

img {
    vertical-align: top;
    border: none;
    max-width: 100%;
}

html {
    font-size: 12px;
    width: 100%;
    height: 100%;
    color: @color-black;
    -webkit-font-smoothing: antialiased;
    background: @color-white;
}

body {
    .main-width();
    height: 100%;
    position: relative;
    font-size: .28rem;
    line-height: 1.6;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    font-family: "Hiragino Sans GB", Helvetica, STXihei, Arial, serif;
    > div {
        width: 100%;
        height: 100%;
    }
}

.clear_fix:after {
    .clear-fix;
}

.show {
    display: inherit !important;
}

.hide {
    display: none !important;
}

.f_left {
    float: left !important;
}

.f_right {
    float: right !important;
}

.text_left {
    text-align: left !important;
}

.text_right {
    text-align: right !important;
}

.text_center {
    text-align: center !important;
}

.no_wrap {
    .no_wrap();
}

.auto_wrap {
    .auto_wrap();
}

.clear_both {
    clear: both;
}

.flex {
    .flex;
}

.flex_item {
    .flex_item;
}

.line_x {
    height: 1px;
    width: 100%;
    background: @color-bg;
}

.line_y {
    height: .1rem;
    width: 100%;
    background: @color-bg;
}

.content_box {
    .content_box();
}

//public part

.container {
    min-height: 100%;
    width: 100%;
    background: @color-bg;
    position: absolute;
    top: 0;
    left: 0;
}

.auto_pos {
    .auto_pos();
}

.img_wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
}

hr {
    width: 100%;
    height: 1px;
    background: #eee;
}

.ab-position-border {
    .ab-position-border();
}

.mb_1 {
    margin-bottom: .24rem;
}

.mt_1 {
    margin-top: .2rem;
}

.bx_1 {
    box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .25);
}